﻿@model TestHttpModules.Product_Comment
<script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"></script>
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Product_Comment</legend>
        @Html.Hidden("ProductID")
        @Html.Hidden("UserID", 1)
        <div class="editor-label">
            @Html.LabelFor(model => model.CommentTitle)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CommentTitle)
            @Html.ValidationMessageFor(model => model.CommentTitle)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.CommentInfo)
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(model => model.CommentInfo)
            @Html.ValidationMessageFor(model => model.CommentInfo)
        </div>
        <p>
            <input type="submit" value="评论" id="submit1" />
        </p>
    </fieldset>
}
